var $el = $("#list");
var listView = new infinity.ListView($el);

// ... When adding new content:
for (let index = 0; index < 1000; index++) {
  var $newContent = $("<p>Hello World "+index+"</p>");
  listView.append($newContent);
}
// ... To remove items from a list:

var listItems = listView.find(".my-items");
for (var index = 0, length = listItems.length; index < length; index++) {
  listItems[index].remove();
}
